import request from '@/utils/request'

export function getQuickDoc(params) {
    return request({
        url: '/apiQuickDoc',
        method: 'get',
        params,
    })
}


export function createQuickDoc(data) {
    return request({
        url: '/apiQuickDoc',
        method: 'post',
        data,
    })
}

export function updateQuickDoc(data) {
    return request({
        url: '/apiQuickDoc',
        method: 'put',
        data,
    })
}

export function deleteQuickDoc(data) {
    return request({
        url: '/apiQuickDoc',
        method: 'delete',
        data,
    })
}

export function renameQuickDoc(data) {
    return request({
        url: '/apiQuickDoc/rename',
        method: 'put',
        data,
    })
}
